package com.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Ticket {
    private String id;

    private String scenicId;

    private String groupTicket;

    private String consumeMode;

    private BigDecimal price;

    private String content;

    private Integer num;

    private String supportCancel;

    private String cancelRatio;

    private Integer expireDay;

    private Integer status;

    private String createUserId;

    private String updateUserId;

    private Date createTime;

    private Date updateTime;

    private Integer deleted;

    private Date version;

    //团体票状态
    public static final String GROUP = "0";
    public static final String NO_GROUP = "1";

    //消费方式
    public static final String USE_ONE = "0";
    public static final String USE_YEAR = "1";
    public static final String USE_EMP = "2";

    //门票状态
    public static final Integer NORMAL = 0;
    public static final Integer EXPIRE = 1;
    public static final Integer USED = 2;

    //是否删除
    public static final Integer NO_DELETED = 0;
    public static final Integer DELETED = 1;

}